package routers

import (
	"github.com/gin-gonic/gin"

	v1 "application/api/v1"
)

func RegisterHouseRouter(engine *gin.Engine) {
	house := engine.Group("/API/V1/house")
	{
		//添加房屋信息
		house.POST("/add", v1.AddHouse)
		//删除房屋信息
		house.POST("/del", v1.DelHouse)
		//修改房屋信息
		house.POST("/update", v1.UpHouse)
		//房屋列表
		house.GET("/list", v1.HouseList)
	}
}
